﻿using Bot.Domain.Entities;
using Comm100.Framework;
using Comm100.Framework.AutoMapper;
using Comm100.Public;
using Bot.Domain.Bo;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Bot.Domain;

namespace Bot.Application.Dto
{
    [AutoMapTo(typeof(PrebuiltEntityUpdateBo))]
    public class PrebuiltEntityUpdateDto
    {
        [Required]
        public Guid Id { get; set; }
        [Required]
        [MaxLength(PrebuiltEntityStringLength.MaxLength_Language)]
        public string Language { get; set; }
        [Required]
        [MaxLength(PrebuiltEntityStringLength.MaxLength_Name)]
        public string Name { get; set; }
        [Required]
        [MaxLength(PrebuiltEntityStringLength.MaxLength_MappingToDialogflowId)]
        public string MappingToDialogflowId { get; set; }
        [Required]
        [MaxLength(PrebuiltEntityStringLength.MaxLength_Description)]
        public string Description { get; set; }
        [Required]
        [MaxLength(PrebuiltEntityStringLength.MaxLength_Example)]
        public string Example { get; set; }
    }
}